export interface FetchPhoneParams {
    js_code: string
    encryptedData: string
    iv: string
}

export interface BindLoginParams {
    USERNO: string
    PHONENO: string
    PASSWORD: string
    OPENID: string
    // SESSION_KEY: string
    OPERATOR_ID: 0
}

export interface RegisterParams {
    USERNAME: string
    PHONENO: string
    ROLE_ID: 4
    OPENID: string
    // SESSION_KEY: string
    OPERATOR_ID: 0
}

export interface UploadImgParams {
    CUSER_ID: string | number
    FLAG: 'ZP' | 'CNS'
    filePath: string
}

export interface StudentDataParams {
    CUSER_ID: string | number
    USERNO: string | number
    USERNAME: string
    STUDENTNO: string
    STUDENTNAME: string
    PICID: string
    SFZNO: string
    SEX: number
    ADDR: string
    PHONENO: string
    LXR: string
    LXR_PHONENO: string
    ZZMM: number | string
    WHCD: number | string
    YDW: string
    YZW: string
    STATE: number | string
    OPERATOR_ID: number
}

export interface TeacherDataParams {
    CUSER_ID: string | number
    USERNO: string | number
    USERNAME: string
    TEACHERNAME: string
    TEACHERNO: string | number
    MAJOR_ID: string | number
    PHONENO: string
    SEX: number
    STATE: number
    OPERATOR_ID: number
}

export interface PaginationDataParams {
    // CLASS_ID: string
    // MAJOR_ID: string
    // COURSE_ID: string
    // CLASSNAME: string
    // PLACE: string
    // STATE: string
    PAGEINDEX: number
    PAGESIZE: number
    OPERATOR_ID: string | number
}

export interface KXClassesDataParams extends PaginationDataParams{
    CLASS_IDS: string
}

export interface RDClassesListParams extends PaginationDataParams {
    CLASS_ID: string
    MAJOR_ID: string
    COURSE_ID: string
    CLASSNAME: string
    PLACE: string
    STATE: string
}

export interface ZZYClassesListParams extends PaginationDataParams {}

export interface RDCourseListParams extends PaginationDataParams{
    COURSE_ID: string
    MAJOR_ID: string
    COURSENO: string
    COURSENAME: string
    TEACHER_NAME: string
    STATE: string
}

export interface RDCourseDetailParams {
    COURSE_ID: string
    OPERATOR_ID: string
}

export interface ModifyRDCourseInfoParams {
    COURSE_ID: string
    MAJOR_ID: string
    COURSENO: string
    COURSENAME: string
    TEACHER_ID: string
    TEACHER_NAME: string
    CLASSLEADER_ID: string
    STATE: string
    OPERATOR_ID: string
}

export interface CourseZSListParams extends PaginationDataParams{
    CLASS_ID: string
    MAJOR_ID: string
    COURSE_ID: string
    CLASSNAME: string
    PLACE: string
    STATE: ""
}

export interface CourseZSDetailParams {
    CLASS_ID: string | number
    OPERATOR_ID: string
}

export interface ModifyCourseZSInfoParams {
    CLASS_ID: string
    MAJOR_ID: string
    COURSE_ID: string
    CLASSNAME: string
    MAXNUM: string
    MINNUM: string
    S_ZS_DATE: string
    E_ZS_DATE: string
    YBXD_DATE: string
    LSZB_DATE: string
    SH_FLAG: string
    S_KK_DATE: string
    E_KK_DATE: string
    CLASS_HOUR: string
    DSZ_FLAG: string
    PLACE: string
    SKSJ1: string
    SKSJ2: string
    SKSJ3: string
    SKSJ4: string
    SKSJ5: string
    SFJE1: string
    SFJE2: string
    STATE: string
    OPERATOR_ID: string

}

export interface MembersDataParams extends PaginationDataParams {
    CUSER_ID: string | number
    USERNO: string
    STUDENTNO: string
    STUDENTNAME: string
    TEACHERNO: string
    TEACHERNAME: string
    PHONENO: string
    ROLE_ID: number
    STATE: string
}

export interface MemberDetailParams {
    CUSER_ID: string
    OPERATOR_ID: string
}

export interface ModifyUserStatusParams {
    CUSER_IDS: string
    STATE: string
    OPERATOR_ID: string
}

export interface ModifyUserRoleParams {
    CUSER_IDS: string
    ROLE_ID: string
    OPERATOR_ID: string
}


export interface FetchEnrollFormParams extends PaginationDataParams {
    ENROLL_ID: string
    STUDENTNO: string
    SFZNO: string
    SEX: number | string
    CLASS_ID: string
    STATE: string
}

export interface EnrollDetailParams {
    ENROLL_ID: string | number
    OPERATOR_ID: string
}

export interface VerifyEnrollParams extends PaginationDataParams{
    CLASSNAME: string
    STUDENTNAME: string
    SH_FLAG: '0' | '1' | '2'
}

export interface EnrollFormParams extends StudentDataParams {
    ZKCNSID: string
    CLASS_IDS: string
    ENROLL_ID: string | number
}

export interface EnrollFormZZParams extends EnrollFormParams {
    ZZTYPE_ID: string | number
}

export interface DoVerifyParams {
    CBM_ID: string
    SH_FLAG: string
    OPERATOR_ID: string
}

export interface PayListParams extends PaginationDataParams{
    CUSER_ID: string
    CLASS_ID: string
    STUDENTNO: string
    STATE: string
}

export interface VerifyEnrollDetailParams {
    CBM_ID: string
    OPERATOR_ID: string
}

export interface ApplyZZYParams {
    CBM_ID: string
    CLASS_ID: string
    OPERATOR_ID: string
}

export interface ZZYEnrollListParams extends PaginationDataParams{
    CLASSNAME: string
    STUDENTNAME: string
    SH_FLAG: '0' | '1' | '2'
}

export interface ZZYEnrollDetailParams {
    CBM_ID: string
    OPERATOR_ID: string
}

export interface PayDetailParams {
    JFD_ID: string | number
    OPERATOR_ID: string
}

export interface PayInfoParams {
    openid: string
    total_fee: string
    order_code: string
}

export interface PayRefundParams {
	JFD_ID : string
	OPERATOR_ID : string
}

export interface RefundAuditListParams {
	CLASSNAME: string
	STUDENTNAME: string
	PAGEINDEX: string
	PAGESIZE: string
	OPERATOR_ID : string
	SH_FLAG:string
}

export interface RefundAuditDetailsParams {
	JFD_ID: string
	OPERATOR_ID: string
}

export interface RefundAuditParams {
	JFD_ID: string
	SH_FLAG: string
	OPERATOR_ID: string
}

export interface RefundAuditLastParams {
	total_fee: string
	order_code: string
	transaction_id: string
}
export interface ApplyNowList {
	CLASSNAME: string
	PAGEINDEX: string
	PAGESIZE: string
	OPERATOR_ID: string
}

export interface ApplyNowListExclName {
	CLASSNAME: string
	OPERATOR_ID: string
}

export interface ApplyNowListExcl{
	excelfilename:string
}

export interface ApplyNowDetail{
	CLASSNAME: string
	PAGEINDEX: string
	PAGESIZE: string
	OPERATOR_ID: string
}

export interface SelectClassImage{
	CLASSNAME: string
	PAGEINDEX: string
	PAGESIZE: string
	OPERATOR_ID: string
}

export interface UploadImage{
	CLASS_ID: string
	WX_PIC : string
	STATE : string
	OPERATOR_ID: string
}

export interface DeleteImage{
	picfilename:string
}
export interface TeacherList{
	TEACHERNAME:string
	PAGEINDEX:string
	PAGESIZE:string
	OPERATOR_ID:string
}
export interface payoutparams{
	out_trade_no:string
}

export interface Syllabus{
	CLASSNAME:string
	PAGEINDEX:string
	PAGESIZE:string
	OPERATOR_ID:string
}

export interface SyllabusDetail{
	CLASS_ID:string
	OPERATOR_ID:string
}

export interface AnnouncementList{
	XX_TYPE:string
	XX_BT:string
	PAGEINDEX:string
	PAGESIZE:string
	OPERATOR_ID:string
}
export interface SchoolInfo{
	OPERATOR_ID:string
}

export interface SchoolInfoEdit{
	XX_ID:string
	XX_BT:string
	XX_TXT:string
	XX_PIC:string
	STATE:string
	OPERATOR_ID:string
}

export interface AnnouncementTitle{
	XX_BT:string
	PAGEINDEX:string
	PAGESIZE:string
	OPERATOR_ID:string
}

export interface AnnouncementTitleDetail{
	XX_ID:string
	OPERATOR_ID:string
}

export interface AnnouncementTitleDetailEdit{
	XX_ID:string
	XX_BT:string
	XX_TXT:string
	XX_PIC:string
	STATE:string
	OPERATOR_ID:string
}

export interface DoVerifyYZZZNOParams{
    ZZTYPE_ID:string
    SFZNO:string
    OPERATOR_ID:string
}